From 3bf162001ab4af23a8b797d27cda4c10cd941f2f Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 3 Sep 2008 06:05:14 +0000 Subject: [PATCH] Fix benign typo in garmin.c. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3435 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/garmin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/garmin.c b/gpsbabel/garmin.c index bf3a2a944..b387790a8 100644 --- a/gpsbabel/garmin.c +++ b/gpsbabel/garmin.c @@ -980,7 +980,7 @@ route_waypt_pr(const waypoint *wpt) if (wpt->description) { strncpy(rte->cmnt, wpt->description, sizeof(rte->cmnt)); - rte->cmnt[sizeof(rte->ident)-1] = 0; + rte->cmnt[sizeof(rte->cmnt)-1] = 0; } else { rte->cmnt[0] = 0; } -- 2.30.2